import request from '@/utils/request'
export function getList(data) {
    return request({
        url: '/media/teacher/getList',
        method: 'post',
        data: data
    })
}
export function changeLoginStatus(data) {
    return request({
        url: 'media/teacher/changeLoginStatus',
        method: 'post',
        data: data
    })
}

export function changeState(data) {
    return request({
        url: '/media/teacher/changeState',
        method: 'post',
        data: data
    })
}
export function add(data) {
    return request({
        url: '/media/teacher/add',
        method: 'post',
        data: data
    })
}
export function updateT(data) {
    return request({
        url: '/media/teacher/update',
        method: 'post',
        data: data
    })
}

// export function getCategory() {
//     return request({
//         url: '/flow_control/getOperationCategoryList',
//         method: 'get',
//     })
// }